package com.zmc.lostfound.common.constant;

/**
 * MQ常量池
 *
 * @author ZMC
 */
public class RabbitMqConstant {

    /**
     * Topic交换机
     */
    public static final String USER_EXCHANGE = "user.topic";

    /**
     * 监听user新增/修改操作的队列
     */
    public static final String USER_SAVE_QUEUE = "user.save.queue";

    /**
     * 监听user删除操作的队列
     */
    public static final String USER_DELETE_QUEUE = "user.delete.queue";

    /**
     * user新增/修改操作的RoutingKey
     */
    public static final String USER_SAVE_KEY = "user.save";

    /**
     * user删除操作的RoutingKey
     */
    public static final String USER_DELETE_KEY = "user.delete";


    /**
     * Topic交换机
     */
    public static final String POST_EXCHANGE = "post.topic";

    /**
     * 监听post新增/修改操作的队列
     */
    public static final String POST_SAVE_QUEUE = "post.save.queue";

    /**
     * 监听post删除操作的队列
     */
    public static final String POST_DELETE_QUEUE = "post.delete.queue";

    /**
     * post新增/修改操作的RoutingKey
     */
    public static final String POST_SAVE_KEY = "post.save";

    /**
     * post删除操作的RoutingKey
     */
    public static final String POST_DELETE_KEY = "post.delete";

}
